package com.example.compreshensiveshop.service;


import com.example.compreshensiveshop.common.JsonResponse;
import com.example.compreshensiveshop.dto.LoginDTO;
import com.example.compreshensiveshop.dto.PasswordUpdateDTO;
import com.example.compreshensiveshop.dto.RegisterDTO;
import com.example.compreshensiveshop.vo.SellerLoginVO;
import com.example.compreshensiveshop.vo.UserVO;

public interface UserService {

    //用户注册或新增
    JsonResponse<UserVO> register(RegisterDTO registerDTO);

    //用户登录
    JsonResponse<UserVO> login(LoginDTO loginDTO);

    //商家登录
    JsonResponse<SellerLoginVO> sellerLogin(LoginDTO loginDTO);

    //密码修改
    JsonResponse<UserVO> updatePassword(PasswordUpdateDTO passwordUpdateDTO);

}
